package com.matriq.cloudmanager.entity;

import com.matriq.cloudmanager.entity.db.DownloadCourseInfo;

/*
 * 课程
 */
public class CourseInfo {

	String no;
	String headpic;
	String title;
	String timeLength;
	String score;
	String url;

	
	public CourseInfo(String no, String headpic, String title, String timeLength, String score, String url) {
		super();
		this.no = no;
		this.headpic = headpic;
		this.title = title;
		this.timeLength = timeLength;
		this.score = score;
		this.url = url;
	}
	
	public CourseInfo() {
		super();
	}

	public DownloadCourseInfo castToDownloadCourseInfo(){
		return new DownloadCourseInfo(no, headpic, title, timeLength, score, url);
	}

	public String getUrl() {
		return url;
	}

	public void setUrl(String url) {
		this.url = url;
	}

	public String getNo() {
		return no;
	}

	public void setNo(String no) {
		this.no = no;
	}

	public String getHeadpic() {
		return headpic;
	}

	public void setHeadpic(String headpic) {
		this.headpic = headpic;
	}

	public String getTitle() {
		return title;
	}

	public void setTitle(String title) {
		this.title = title;
	}

	public String getTimeLength() {
		return timeLength;
	}

	public void setTimeLength(String timeLength) {
		this.timeLength = timeLength;
	}

	public String getScore() {
		return score;
	}

	public void setScore(String score) {
		this.score = score;
	}

}
